<!--
    action弹窗基类
-->
<template>

</template>
<script>
import Modal from '@/element/modal'

export default {
    subModuleStore: true,
    props: {
        open: {},
        //action模型
        actionModel: {},
        //action当前参数
        actionData: {},
        modalShow: {},
        paramId: {},
        paramData: {},
        isLoad: {
            defalut: false
        }
    },
    watch: {
        open(v) {
            this.modal = v
        },
        modal(v) {
            if (v) this.load()
            this.$emit('update:open', v)
        }
    },
    data() {
        return {
            modal: false,
            title: '弹窗'
        }
    },
    created() {
        this.$owner = this.$parent.$owner
    },
    methods: {
        load() {

        },
        close() {
            this.modal = false
        }
    },
    components: {
        Modal
    }
}
</script>
<style lang="less">

</style>
